package com.cloud;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @BelongsProject: my
 * @BelongsPackage: PACKAGE_NAME
 * @Author: ji ge
 * @CreateTime: 2024-01-30  18:59
 * @Description: TODO
 * @Version: 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class R<T> {
    private Integer code;
    private String msg;
    private T data;

    public R (Integer code,String msg){
        this(code,msg,null);
    }
}
